#include "verifycodedialog.h"
#include "ui_verifycodedialog.h"

verifycodeDialog::verifycodeDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::verifycodeDialog)
{
    ui->setupUi(this);
}

void verifycodeDialog::setPixmap(const QString& vfilepath){
	QPixmap vPixmap = QPixmap(vfilepath);
	this->ui->lblVerycode->setPixmap( vPixmap );
	this->ui->lblVerycode->resize(vPixmap.width(), vPixmap.height());	
}

QString verifycodeDialog::getText(){
	return this->ui->lineEdit->text();
}
verifycodeDialog::~verifycodeDialog()
{
    delete ui;
}
